package com.xyz.messagehelper.presenter

import com.xyz.messagehelper.contract.SplashContract

class SplashPresenter(val view: SplashContract.View):  SplashContract.Presenter{


    override fun checkLoginStatus() {
        //在这里检查是否之前已经登录过，或者是是否有账号在登录
        if(LoggedIn()) view.onLoggedIn() else view.onNotLoggedIn()
    }

    private fun LoggedIn(): Boolean {
        return true
    }
}